package com.zw.design.pattern.creational.structural.bridge;

public class Test {

    public static void main(String[] args) {
        Bank cmb=new CMBBank(new DepositAccount());
        cmb.openAccount().showAccountType();
        Bank cmb2=new CMBBank(new SavingAccount());
        cmb2.openAccount().showAccountType();

        Bank ccb=new CCBBank(new SavingAccount());
        ccb.openAccount().showAccountType();
    }
}
